// components/morePushTitle/morePushTitle.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    /**
     * title:标题
     */
    title: {
      type: String,
      value: ""
    },
    rightTitle: {
      type: String,
      value: "更多"
    },
    /**
     * pushTag:跳转标签
     */
    pushTag: {
      type: String,
      value: ""
    },
    isHome: {
      type: Boolean,
      value: false
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    pushPage() {
      // console.log("JJLog:key是什么:" + this.properties.pushTag);
      let tag = this.properties.pushTag;
      switch (tag) {
        case "expert":
          //更多置业顾问:
          wx.navigateTo({
            url: '/firstPackage/pages/expertModule/expertList/expertList',
          })
          break;

        default:
          break;
      }
    },
  }
})
